module.exports = {
  title: '交接班记录',
  limit: 8,
  tableConfig: [
    {
      type: 'DateAndTime',
      lock: 'left',
      label: '上班时间',
      name: 'workBeginTime',
      width: 200,
    },
    {
      type: 'DateAndTime',
      lock: 'left',
      label: '下班时间',
      name: 'workEndTime',
      width: 200,
    },
    {
      type: 'String',
      lock: 'left',
      label: '班组',
      name: 'teamName',
      width: 60,
    },
    {
      type: 'String',
      label: '值班组长',
      name: 'teamLeader',
      width: 150,
    },
    {
      type: 'Table',
      label: '值班成员',
      name: 'teamMembers',
      width: 300,
    },
    {
      type: 'TextArea',
      label: '工作记录',
      name: 'workRecord',
      align: 'left',
      width: 300,
    }
  ],

  dialogConfig: [
    {
      type: 'Select',
      name: 'teamName',
      label: '选择班组',
      dataSource: [{
        label: 'A组',
        value: 'A组'
      }, {
        label: 'B组',
        value: 'B组',
      }, {
        label: 'C组',
        value: 'C组'
      }, {
        label: 'D组',
        value: 'D组',
      }]
    },
    {
      type: 'DateAndTimePicker',
      name: 'workBeginTime',
      label: '上班时间'
    },
    {
      type: 'DateAndTimePicker',
      name: 'workEndTime',
      label: '下班时间',
    },
    {
      type: 'TextArea',
      name: 'workRecord',
      label: '工作记录',
      placeholder: '工作记录'
    }
  ]
};
